package edu.gdkm.exam;

public class Test3 {
    public String sum(int a,int b){
        return a+b+":int";
    }
    public String sum(float a,float b){
        return a+b+":float";
    }
    public String sum(double a,double b){
        return a+b+":double";
    }
    public String sum(int a,float b){
        return a+b+":int float";
    }
    public String sum(int a,double b){
        return a+b+":int double";
    }
    public String sum(double a,int b){
        return a+b+":double int";
    }
    public String sum(float a,double b){
        return a+b+":float double";
    }

    public static void main(String[] args) {
        Test3 test3 = new Test3();
        System.out.println(test3.sum(1, 2));
        System.out.println(test3.sum(1f, 2f));
        System.out.println(test3.sum(1.0, 2.0));
        System.out.println(test3.sum(1, 2.0));
        System.out.println(test3.sum(1, 2f));
        System.out.println(test3.sum(1f, 2.0));
        System.out.println(test3.sum(1.0,2));
    }
}
